home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmListReplaceItemsPosUnselected.z
/
XmListReplaceItemsPosUnselected
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossssUUUUnnnnsssseeeelllleeeeUUUUccccNNNNttttIIIIeeeeXXXXddddXXXX((((SSSSmmmm3333yyyyLLLLXXXXssssiiii))))ttttsssseeeettttmmmmRRRReeeeVVVVppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossssUUUUnnnnsssseeeelllleeeecccctttteeeedddd((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossssUUUUnnnnsssseeeelllleeeecccctttteeeedddd - A List function that
replaces items in a list without selecting the replacement
items
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/List.h>
vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossssUUUUnnnnsssseeeelllleeeecccctttteeeedddd(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
XXXXmmmmSSSSttttrrrriiiinnnngggg ****nnnneeeewwww____iiiitttteeeemmmmssss,
iiiinnnntttt iiiitttteeeemmmm____ccccoooouuuunnnntttt,
iiiinnnntttt ppppoooossssiiiittttiiiioooonnnn);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossssUUUUnnnnsssseeeelllleeeecccctttteeeedddd replaces the specified
number of items in the list with new items, starting at the
given position. The replacement items remain unselected,
even if they currently appear in the XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmssss list.
_w_i_d_g_e_t Specifies the ID of the List widget to replace
items in.
_n_e_w__i_t_e_m_s Specifies a pointer to the replacement items.
_i_t_e_m__c_o_u_n_t
Specifies the number of elements in _n_e_w__i_t_e_m_s and
the number of items in the list to replace. This
number must be nonnegative.
_p_o_s_i_t_i_o_n Specifies the position of the first item in the
list to be replaced. A value of 1 indicates that
the first item replaced is the first item in the
list; a value of 2 indicates that it is the second
item; and so on.
Beginning with the item specified in _p_o_s_i_t_i_o_n,
_i_t_e_m__c_o_u_n_t items in the list are replaced with the
corresponding elements from _n_e_w__i_t_e_m_s. That is,
the item at _p_o_s_i_t_i_o_n is replaced with the first
element of _n_e_w__i_t_e_m_s; the item after _p_o_s_i_t_i_o_n is
replaced with the second element of _n_e_w__i_t_e_m_s; and
so on, until _i_t_e_m__c_o_u_n_tis reached.
For a complete definition of List and its associated
resources, see XXXXmmmmLLLLiiiisssstttt(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmLLLLiiiisssstttt(3).
Page 1 (printed 10/24/98)